﻿

<%@ Page Title="" Language="C#" MasterPageFile="~/union/Template/_Main.Master" AutoEventWireup="true" CodeBehind="Index.aspx.cs" Inherits="CL.UnionWeb.union.Index" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">

         <div class="tpl-content-wrapper">
            <div class="tpl-content-page-title">
                推广联盟系统
            </div>
            <ol class="am-breadcrumb">
                <li><a href="/union/index.aspx" class="am-icon-home">首页</a></li>
            </ol>
            <div class="tpl-portlet-components">
                <div class="portlet-title">
                    <div class="caption font-green bold">
                        昨日预计分成
                    </div>
                </div>
                <%--内容 S--%>
                <div class="am-g">
                        <div class="am-u-sm-12">
                            <table class="am-table am-table-striped am-table-hover table-main">
                                <thead>
                                    <tr>
                                        <th class="table-title">时间</th>
                                        <th class="table-date am-hide-sm-only">销售金额</th>
                                        <th class="table-date am-hide-sm-only">返点数(万分比)</th>
                                        <th class="table-title">应得金额</th>
                                    </tr>
                                </thead>
                                <tbody>
                                    <tr >
                                        <%if (null != yesterdayFanli) { %>
                                        <td><%=yesterdayFanli.Day %></td>
                                        <td class="am-hide-sm-only"><%=Math.Round((double)yesterdayFanli.BuyAmount / 100, 2).ToString() %></td>
                                        <td class="am-hide-sm-only"><%=yesterdayFanli.RebateNum %> ‱</td>
                                        <td><%=Math.Round((double)yesterdayFanli.BuyAmount * yesterdayFanli.RebateNum / 1000000, 2).ToString()  %></td>
                                        <%} %>
                                    </tr>
                                </tbody>
                            </table>
                    </div>
                </div>
                </div>

             <div></div>
            <div class="tpl-portlet-components">
                <%--未读消息--%>
                 <div class="portlet-title">
                    <div class="caption font-green bold">
                        未读消息
                    </div>
                </div>
                                    <div class="am-g">
                        <div class="am-u-sm-12">
                                <table class="am-table am-table-striped am-table-hover table-main">
                                    <thead>
                                        <tr>
                                            <th class="table-title">标题</th>
                                            <th class="table-title">时间</th>
                                        </tr>
                                    </thead>
                                    <tbody>
                                        <% for (int i = 0; i < Entitys.Count; i++)
                                            {%>
                                        <tr class="weidu">
                                            <td><a href="/union/NoticeDetail.aspx?noticeID=<%=CL.Tools.Common.DESEncrypt.Encrypt(Entitys[i].NoticeID.ToString()) %>" ><%=Entitys[i].NoticeTitle %></a></td>
                                            <td><%=Entitys[i].SendTime.ToString("yyyy年MM月dd日 HH时mm分") %></td>
                                        </tr>
                                        <% } %>
                                    </tbody>
                                </table>
                        </div>
                    </div>
            <%--内容 E--%>
        </div>
             </div>
    </asp:Content>

